package com.globalwave.common.entity;

import java.util.ArrayList;
import java.util.List;

public class VirtualSearchForm {

    private View view ;
    private List<Field> fields ;

	public View getView() {
		return view;
	}

	public void setView(View view) {
		this.view = view;
	}

	public List<Field> getFields() {
		return fields;
	}

	public void setFields(List<Field> fields) {
		this.fields = fields;
	}
	


	public void addFields(List<Object> fields) {
		this.fields = new ArrayList<Field>(fields.size());
		
		for (Object object:fields) {
			this.fields.add((Field)object);
		}
	}
}
